package org.pearl.mybatis.demo.service;

import org.pearl.mybatis.demo.dao.UserMapper;
import org.pearl.mybatis.demo.pojo.entity.User;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by TD on 2021/10/28
 */
public class UserServiceImpl {

    @Autowired
    UserMapper userMapper;

    public User doSomeBusinessStuff(Long userId) {
        return this.userMapper.getUser(userId);
    }
}
